import Axios from '../utils/axios'
import api from '../api'
// 登录接口
function getLogin(username:string,password:string){
	return Axios.post(api.apihicky.admin_login,{username,password});
	
}
// 登录首页显示的用户头像
function getHomeHeadPortrait(token:string){
	return Axios.get(api.apihicky.HomeHeadPortrait,{params:{"admin-token":token}});
	
	  
	
}

export default{
	getLogin,
	getHomeHeadPortrait
}